<?php /* Smarty version 2.6.18, created on 2009-05-21 09:16:23
         compiled from ua-admin/backup.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_radios', 'ua-admin/backup.html', 40, false),array('modifier', 'default', 'ua-admin/backup.html', 40, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<title>控制台_<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
<script language="JavaScript">
function $(id) {
	return document.getElementById(id);
}

var collapsed = get_cookie('bbs_collapse');
function collapse_change(menucount) {
	if($('menu_' + menucount).style.display == 'none') {
		$('menu_' + menucount).style.display = '';collapsed = collapsed.replace('[' + menucount + ']' , '');
		$('menuimg_' + menucount).src = '<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/menu_reduce.gif';
	} else {
		$('menu_' + menucount).style.display = 'none';collapsed += '[' + menucount + ']';
		$('menuimg_' + menucount).src = '<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/menu_add.gif';
	}
	set_cookie('bbs_collapse', collapsed);
}
</script></head>
<body leftmargin="10" topmargin="10" onkeydown="refreshmainframe(event)">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="6">
<tr><td>
<!-- 访问设置 -->
<form name="backupfrm" action="./backup.php" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header">
<td colspan="2">备份计划设置<a href="#" onclick="collapse_change('a45b0b68771fc480')"><img id="menuimg_a45b0b68771fc480" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/menu_reduce.gif" border="0"/ style="float: right; margin-top: -12px; margin-right: 8px;"></a></td>
</tr>
<tbody id="menu_a45b0b68771fc480" style="display: yes">
<tr>
  <td width="60%" class="altbg1" ><b>备份安排:</b><br>
      <span class="smalltxt">手工备份：只有管理员进行备份操作时才备份</span>
	  <br />
	  <span class="smalltxt">自动备份：表示每次管理员一登陆就进行备份</span></td>
  <td class="altbg2"><?php echo smarty_function_html_radios(array('name' => "u[backup_type]",'options' => $this->_tpl_vars['BackupTypes'],'checked' => ((is_array($_tmp=@$this->_tpl_vars['CurrentType'])) ? $this->_run_mod_handler('default', true, $_tmp, 1) : smarty_modifier_default($_tmp, 1)),'separator' => "<br>"), $this);?>
</td>
</tr>
<tr>
	<td width="60%" class="altbg1" ><strong>备份选项</strong></td>
	<td class="altbg2"><div align="center"><a href="./backup.php?action=backup_now"><strong>现在开始备份吗>></strong></a></div></td>
</tr>
<tr>
	<td class="altbg1" ><strong>数据库还原</strong>
	<br />
	您可以输入您已备份的SQL文件名称, 例如 db_20080820_QpWBXP.sql 或者 db_20080820_QpWBXP(如果是压缩文件, 请先解压)，进行数据库还原操作
	</td>
	<td class="altbg2"><input type="text" name="sql_file_name" value="" />&nbsp;<input type="submit" name="restore" value="立即还原" class="btn_mouseout" /></td>
</tr>
<tr>
  <td colspan="2" valign="middle" class="altbg1"><div  align="center"><input name="save" type="submit" id="save" value="保存"  class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'">
  </div></td>
  </tr>
</tbody>
</table>
<!-- :~访问设置 -->
</form>
</td></tr>
</table>
</body>
</html>